import React from "react";
function ChildBack({productId, referrer, themeFun }={}) {
    // themeFun()
    console.log('child');
    return ( 
        <>
        <p>productId:{productId}</p>
          <p>referrer:{referrer}</p>
         <p onClick={themeFun}>click{Math.random()}</p>
        </>
     );
}

export default React.memo(ChildBack);